const state = {
	showPublishPage: false,
	tabList: [{
		iconPath: "/static/img/tabbar/home.png",
		selectedIconPath: "/static/img/tabbar/homeactive.png",
		text: '首页',
		count: 0,
		isDot: false,
		customIcon: false,
		midButton: false,
		pagePath: '/pages/index/index', // 1.5.6新增，路径需要以"/"开头
	}, {
		iconPath: "/static/img/tabbar/guanzhu.png",
		selectedIconPath: "/static/img/tabbar/guanzhuactive.png",
		text: '发现',
		count: 0,
		isDot: false,
		customIcon: false,
		midButton: false,
		pagePath: '/pages/find/find', // 1.5.6新增，路径需要以"/"开头
	}, {
		iconPath: "/static/img/tabbar/add-btn.png",
		selectedIconPath: "/static/img/tabbar/add-btn.png",
		text: ' ',
		count: 0,
		isDot: false,
		customIcon: false,
		midButton: true,
		pagePath: '', // 1.5.6新增，路径需要以"/"开头
	}, {
		iconPath: "/static/img/tabbar/news.png",
		selectedIconPath: "/static/img/tabbar/newsactive.png",
		text: '消息',
		count: 0,
		isDot: false,
		customIcon: false,
		midButton: false,
		pagePath: '/pages/message/message', // 1.5.6新增，路径需要以"/"开头
	}, {
		iconPath: "/static/img/tabbar/me.png",
		selectedIconPath: "/static/img/tabbar/meactive.png",
		text: '我的',
		count: 0,
		isDot: false,
		customIcon: false,
		midButton: false,
		pagePath: '/pages/mine/mine', // 1.5.6新增，路径需要以"/"开头
	}] //底部导航
}

const getters = {
	tabList: state => state.tabList,
	showPublishPage: state => state.showPublishPage
}
const mutations = {
	changeShowPublishPage(state, info) {
		state.showPublishPage = info
	}
}
const actions = {}
export default {
	state,
	getters,
	mutations,
	actions
}
